<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" dir="ltr" lang="en">
<head profile="http://gmpg.org/xfn/11">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8;charset=utf-8" />
<title>Installing OpenCV on Linux (Ubuntu) &laquo; Abhishek&#039;s&#8230;</title>
<link rel="stylesheet" href="Installing%20OpenCV%20on%20Linux%20%28Ubuntu%29_files/style000.css" type="text/css" media="screen" />
<link rel="pingback" href="http://abhitak.wordpress.com/xmlrpc.php" />
<meta name="google-site-verification" content="xvL87Q_-Y5LAXsEZW8tSBkYKVNPzwJnzByzPpvyR6cU" />
<meta name="y_key" content="63d73cc7af77031a" />
<meta name="msvalidate.01" content="C487AB39062950F9E29E364D09942E10" />
<link rel="alternate" type="application/rss+xml" title="Abhishek&#039;s... &raquo; Feed" href="http://abhitak.wordpress.com/feed/" />
<link rel="alternate" type="application/rss+xml" title="Abhishek&#039;s... &raquo; Comments Feed" href="http://abhitak.wordpress.com/comments/feed/" />
<link rel="alternate" type="application/rss+xml" title="Abhishek&#039;s... &raquo; Installing OpenCV on Linux&nbsp;(Ubuntu) Comments Feed" href="http://abhitak.wordpress.com/2009/08/29/installing-opencv-on-linux-ubuntu-9-04/feed/" />
<script type="text/javascript">
/* <![CDATA[ */
function addLoadEvent(func){var oldonload=window.onload;if(typeof window.onload!='function'){window.onload=func;}else{window.onload=function(){oldonload();func();}}}
/* ]]> */
</script>
<link rel="stylesheet" href="Installing%20OpenCV%20on%20Linux%20%28Ubuntu%29_files/global00.css" type="text/css" />
<link rel='stylesheet' id='sharedaddy-css'  href='http://s1.wp.com/wp-content/mu-plugins/sharing/sharing.css?m=1287601727g&#038;ver=MU' type='text/css' media='all' />
<script type='text/javascript' src='http://s2.wp.com/wp-includes/js/l10n.js?m=1290133841g&amp;ver=20101110'></script>
<script type='text/javascript' src='http://s1.wp.com/wp-content/plugins/snow/snowstorm.js?m=1291226695g&amp;ver=1291226695'></script>
<script type='text/javascript' src='http://s1.wp.com/wp-includes/js/jquery/jquery.js?m=1290133841g&amp;ver=1.4.4'></script>
<script type='text/javascript' src='http://s0.wp.com/wp-includes/js/comment-reply.js?m=1252696965g&amp;ver=20090102'></script>
<link rel="EditURI" type="application/rsd+xml" title="RSD" href="http://abhitak.wordpress.com/xmlrpc.php?rsd" />
<link rel="wlwmanifest" type="application/wlwmanifest+xml" href="http://abhitak.wordpress.com/wp-includes/wlwmanifest.xml" /> 
<link rel='index' title='Abhishek&#039;s&#8230;' href='http://abhitak.wordpress.com/' />
<link rel='prev' title='Life at IIT KGP&nbsp;contd.' href='http://abhitak.wordpress.com/2009/08/08/life-at-iit-kgp-contd/' />
<link rel='next' title='IEEE POSIX Thread&nbsp;Programming' href='http://abhitak.wordpress.com/2009/09/03/ieee-posix-thread-programming-2/' />
<meta name="generator" content="WordPress.com" />
<link rel='canonical' href='http://abhitak.wordpress.com/2009/08/29/installing-opencv-on-linux-ubuntu-9-04/' />
<link rel='shortlink' href='http://wp.me/piKXd-3s' />

<script type='text/javascript' src='Installing%20OpenCV%20on%20Linux%20%28Ubuntu%29_files/google_s.js'>
</script>
<script type='text/javascript'>
GS_googleAddAdSenseService("ca-pub-3443918307802676");
GS_googleEnableAllServices();
</script>
<script type='text/javascript'>
GA_googleAddSlot("ca-pub-3443918307802676", "wpcom_below_post");
</script>
<script type='text/javascript'>
GA_googleFetchAds();
</script><link rel="shortcut icon" type="image/x-icon" href="Installing%20OpenCV%20on%20Linux%20%28Ubuntu%29_files/58302824.txt" sizes="16x16" />
<link rel="icon" type="image/x-icon" href="Installing%20OpenCV%20on%20Linux%20%28Ubuntu%29_files/58302824.txt" sizes="16x16" />
<link rel="apple-touch-icon" href="http://1.gravatar.com/blavatar/d4c89c70327f20cd1a579c9d079244d1?s=158" />
	<style type="text/css">
	/* <![CDATA[ */
				div#likes { margin-top: 15px; }
		.like-button { border: 1px solid #eee; padding: 2px 6px; font-size: 13px; font-family: arial, tahoma, sans-serif; }
		#wpl-likebox { clear: left; font-size: 11px; font-family: arial, tahoma, verdana, sans-serif !important; min-height: 30px; margin: 10px 0 !important; padding: 5px 0 10px 0 !important; }
		#wpl-button { float: left; background: url( Installing\ OpenCV\ on\ Linux\ \(Ubuntu\)_files/buttonbg.png ) top left repeat-x; margin-right: 7px; border: 1px solid #d4d4d4; -moz-border-radius: 3px; -webkit-border-radius: 3px; border-radius: 3px; }
		#wpl-button a { color: #666 !important; line-height: 130% !important; text-decoration: none !important; outline: none; float: left; padding: 3px 6px 2px 24px !important; font-size: 11px !important; background: url( Installing\ OpenCV\ on\ Linux\ \(Ubuntu\)_files/likestar.png ) 6px 49.8% no-repeat; }
		#wpl-button.liked { background: #feffce; border: 1px solid #f3e389; }
		#wpl-button.liked a { color: #ba871b !important; }
		#wpl-likebox #wpl-count { min-height: 25px; line-height: 130% !important; float: left; padding-top: 4px; }
		#wpl-likebox #wpl-avatars { clear: left; max-height: 98px; overflow: hidden; margin-top: 15px; line-height: 130% !important; }
		#wpl-likebox #wpl-avatars img { border: none !important; }
		#wpl-likebox #wpl-mustlogin { line-height: 14px !important; font-size: 11px; clear: left; margin-top: 5px; background: #f0f0f0; padding: 10px; width: 65%; -moz-border-radius: 3px; -webkit-border-radius: 3px; border-radius: 3px; }
		#wpl-likebox #wpl-mustlogin a { color: #888; text-decoration: underline; }
		#wpl-likebox #wpl-mustlogin p { margin: 5px 0; padding: 0 }
		#wpl-likebox #wpl-mustlogin input.input { padding: 2px; background: #fff; font-size: 11px; font-family: inherit; border: 1px solid #ccc; -moz-box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.1) inset; -webkit-box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.1) inset; line-height: 12px; }
		#wpl-likebox #wpl-mustlogin input#wp-submit { border: 1px solid #ccc; font-size: 11px; background: #fafafa; repeat-x; -moz-border-radius: 3px; -webkit-border-radius: 3px; border-radius: 3px; padding: 2px 4px !important; line-height: 12px; }
		#wpl-likebox #wpl-mustlogin label { position: relative; cursor: text; }
		#wpl-likebox #wpl-mustlogin label span { position: absolute; top: 0px; left: 5px; padding: 0 !important; }
		#wpl-likebox #wpl-mustlogin label span { top /*\**/: -10px\9; }
	/* ]]> */
	</style>
	<link rel='openid.server' href='http://abhitak.wordpress.com/?openidserver=1' />
<link rel='openid.delegate' href='http://abhitak.wordpress.com/' />
<link rel="search" type="application/opensearchdescription+xml" href="http://abhitak.wordpress.com/osd.xml" title="Abhishek&#039;s..." />
<link rel="search" type="application/opensearchdescription+xml" href="http://wordpress.com/opensearch.xml" title="WordPress.com" />
<meta name="application-name" content="Abhishek&#039;s..." /><meta name="msapplication-window" content="width=device-width;height=device-height" /><meta name="msapplication-tooltip" content="Experiencing the best days of my life..." /><meta name="msapplication-task" content="name=Subscribe;action-uri=http://abhitak.wordpress.com/feed/;icon-uri=http://1.gravatar.com/blavatar/5830282449ec9d87aec1833a79af0ba3?s=16" /><meta name="msapplication-task" content="name=Sign up for a free blog;action-uri=http://wordpress.com/signup/;icon-uri=http://s2.wp.com/i/favicon.ico" /><meta name="msapplication-task" content="name=WordPress.com Support;action-uri=http://support.wordpress.com/;icon-uri=http://s2.wp.com/i/favicon.ico" /><meta name="msapplication-task" content="name=WordPress.com Forums;action-uri=http://forums.wordpress.com/;icon-uri=http://s2.wp.com/i/favicon.ico" /><script type="text/javascript"> 
	window.google_analytics_uacct = "UA-52447-2"; 
</script>

<script type="text/javascript">
	var _gaq = _gaq || [];
	_gaq.push(['_setAccount', 'UA-52447-2']);
	_gaq.push(['_setDomainName', 'wordpress.com']);
	_gaq.push(['_initData']);
	_gaq.push(['_trackPageview']);

	(function() {
		var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
		ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
		(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(ga);
	})();
</script>
</head>

<body class="single single-post postid-214 single-format-standard">
<div id="wrapper">

<div id="page">
	<div class="menu-header"><ul><li ><a href="http://abhitak.wordpress.com/" title="Home">Home</a></li><li class="page_item page-item-678"><a href="http://abhitak.wordpress.com/about-me/" title="About&nbsp;me">About&nbsp;me</a></li><li class="page_item page-item-269"><a href="http://abhitak.wordpress.com/image-processing/" title="Image&nbsp;Processing">Image&nbsp;Processing</a></li></ul></div>

	<div id="header" role="banner">
			<h1><a href="http://abhitak.wordpress.com/">Abhishek&#039;s&#8230;</a></h1>

			<div class="description">Experiencing the best days of my life&#8230;</div>

			<div class="rss">
				<a href="http://abhitak.wordpress.com/feed/" title="RSS">Stay updated via RSS</a>			</div>
	</div>

	<hr />

<div id="container">	
	<div id="sidebar" role="complementary">
		
		<!-- begin widgetized sidebar 1 -->	
		<ul>
			<li id="search-4" class="widget widget_search"><h2 class="widgettitle">Search my blog</h2><div class="search-box">
	<form method="get" action="http://abhitak.wordpress.com/">
	<input type="text" size="15" class="search-field" name="s" id="s" value="search this site" onfocus="if(this.value == 'search this site') {this.value = '';}" onblur="if (this.value == '') {this.value = 'search this site';}"/><input type="submit"  value="" class="search-go" />
	</form>
</div></li>		<li id="top-posts" class="widget widget_stats_topposts">			<h2 class="widgettitle">Top Posts</h2>			<ul><li><a href=''>Installing OpenCV on Linux (Ubuntu)</a></li><li><a href='http://abhitak.wordpress.com/2010/08/23/invalid-iso-file-problem-with-microsoft’s-official-windows-7-usbdvd-download-tool/'>Invalid ISO file problem with "Microsoft’s Official Windows 7 USB/DVD Download Tool"</a></li><li><a href='http://abhitak.wordpress.com/2009/11/08/gcc-for-windows/'>GCC for Windows</a></li><li><a href='http://abhitak.wordpress.com/2010/12/10/ec-placements/'>EC Placements 2010</a></li><li><a href='http://abhitak.wordpress.com/about-me/'>About me</a></li></ul>		</li>		<li id="blog-stats" class="widget widget_statscounter">			<h2 class="widgettitle">Blog Hit counter</h2>			<ul>
			<li>24,951 hits</li>
			</ul>
		</li><li id="categories-3" class="widget widget_categories"><h2 class="widgettitle">Categories</h2>		<ul>
			<li class="cat-item cat-item-7847"><a href="http://abhitak.wordpress.com/category/academics/" title="Academic studies &amp; related articles...">Academics</a> (2)
</li>
	<li class="cat-item cat-item-2016"><a href="http://abhitak.wordpress.com/category/college/" title="My BE college- Fr. Conceicao Rodrigues College of Engineering, Bandra, Mumbai">College</a> (18)
</li>
	<li class="cat-item cat-item-4874"><a href="http://abhitak.wordpress.com/category/computer-stuff/" title="Linux, Windows etc related stuff">Computer stuff</a> (23)
<ul class='children'>
	<li class="cat-item cat-item-196"><a href="http://abhitak.wordpress.com/category/computer-stuff/programming/" title="Some programming realted stuff...mostyl C/C++">Programming</a> (7)
</li>
	<li class="cat-item cat-item-1604"><a href="http://abhitak.wordpress.com/category/computer-stuff/softwares/" title="Softwares... all types- info, review &amp; links.">Softwares</a> (4)
</li>
</ul>
</li>
	<li class="cat-item cat-item-7334"><a href="http://abhitak.wordpress.com/category/electronics/" title="Anything related to Electronics">Electronics</a> (5)
</li>
	<li class="cat-item cat-item-113314"><a href="http://abhitak.wordpress.com/category/iit-kharagpur/" title="The details of life at IIT KGP. The academics, hostel life included.">iit kharagpur</a> (42)
</li>
	<li class="cat-item cat-item-64"><a href="http://abhitak.wordpress.com/category/personal/" title="My Personal stuff- Things related to me, my friends, my family or the unrelated stuff i write about.">Personal</a> (52)
</li>
	<li class="cat-item cat-item-1019"><a href="http://abhitak.wordpress.com/category/project/" title="My BE &amp; MTech Project">Project</a> (5)
</li>
	<li class="cat-item cat-item-1"><a href="http://abhitak.wordpress.com/category/uncategorized/" title="View all posts filed under Uncategorized">Uncategorized</a> (14)
</li>
		</ul>
</li><li id="linkcat-1356" class="widget widget_links"><h2 class="widgettitle">Blogroll</h2>
	<ul class='xoxo blogroll'>
<li><a href="http://nitrojacob.wordpress.com/" rel="friend met colleague co-resident" target="_blank">Jacob&#039;s&#8230;</a></li>
<li><a href="http://tumiamai.wordpress.com/" rel="friend met colleague co-resident" target="_blank">Tanmay&#039;s&#8230; Poetic creations&#8230;</a></li>
<li><a href="http://mybeproject.wordpress.com/" target="_blank">My BE Project</a></li>
<li><a href="http://nikhil4u.wordpress.com/" rel="friend met colleague co-resident" target="_blank">Nikhil&#039;s&#8230; experience with Life&#8230;</a></li>
<li><a href="https://cid-e3b20ce2bf18b12c.office.live.com/browse.aspx/MTech%20Project/Daily%20work" rel="me" target="_blank">My MTech Project</a></li>

	</ul>
</li>
		<li id="recent-posts-4" class="widget widget_recent_entries">		<h2 class="widgettitle">Recent Posts&#8230;</h2>		<ul>
				<li><a href="http://abhitak.wordpress.com/2010/12/10/ec-placements/" title="EC Placements&nbsp;2010">EC Placements&nbsp;2010</a></li>
				<li><a href="http://abhitak.wordpress.com/2010/12/07/do-not-expect/" title="Do not&nbsp;expect&#8230;">Do not&nbsp;expect&#8230;</a></li>
				<li><a href="http://abhitak.wordpress.com/2010/12/05/day-4-mentor-graphics-the-day-i-got-placed/" title="Day 4: Mentor Graphics &#8211; The day i got&nbsp;placed!">Day 4: Mentor Graphics &#8211; The day i got&nbsp;placed!</a></li>
				<li><a href="http://abhitak.wordpress.com/2010/12/04/day-4-qualcomm-jhol/" title="Day 4: Qualcomm&nbsp;jhol">Day 4: Qualcomm&nbsp;jhol</a></li>
				<li><a href="http://abhitak.wordpress.com/2010/12/04/day-3-goldman-sachs-intel-analog-devices-mentor-graphics/" title="Day 3: Goldman Sachs, Intel, Analog Devices, Mentor&nbsp;Graphics">Day 3: Goldman Sachs, Intel, Analog Devices, Mentor&nbsp;Graphics</a></li>
				</ul>
		</li><li id="wp_tag_cloud" class="widget wp_widget_tag_cloud"><h2 class="widgettitle">Tags for my Blog</h2><div style="overflow:hidden"><a href='http://abhitak.wordpress.com/tag/abhishek/' class='tag-link-173874' title='2 topics' style='font-size: 8pt;'>abhishek</a>
<a href='http://abhitak.wordpress.com/tag/bangalore/' class='tag-link-6477' title='3 topics' style='font-size: 9.9090909090909pt;'>Bangalore</a>
<a href='http://abhitak.wordpress.com/tag/be-project/' class='tag-link-1728842' title='8 topics' style='font-size: 15.477272727273pt;'>BE project</a>
<a href='http://abhitak.wordpress.com/tag/best-website/' class='tag-link-2257330' title='4 topics' style='font-size: 11.5pt;'>best website</a>
<a href='http://abhitak.wordpress.com/tag/cedt/' class='tag-link-19493182' title='3 topics' style='font-size: 9.9090909090909pt;'>CEDT</a>
<a href='http://abhitak.wordpress.com/tag/college/' class='tag-link-2016' title='5 topics' style='font-size: 12.772727272727pt;'>College</a>
<a href='http://abhitak.wordpress.com/tag/cultural-fest/' class='tag-link-3829927' title='2 topics' style='font-size: 8pt;'>cultural fest</a>
<a href='http://abhitak.wordpress.com/tag/electronics/' class='tag-link-7334' title='3 topics' style='font-size: 9.9090909090909pt;'>Electronics</a>
<a href='http://abhitak.wordpress.com/tag/frcrce/' class='tag-link-19494756' title='4 topics' style='font-size: 11.5pt;'>frcrce</a>
<a href='http://abhitak.wordpress.com/tag/friends/' class='tag-link-677' title='2 topics' style='font-size: 8pt;'>friends</a>
<a href='http://abhitak.wordpress.com/tag/g/' class='tag-link-10176' title='2 topics' style='font-size: 8pt;'>g++</a>
<a href='http://abhitak.wordpress.com/tag/gate/' class='tag-link-258665' title='2 topics' style='font-size: 8pt;'>GATE</a>
<a href='http://abhitak.wordpress.com/tag/gcc/' class='tag-link-185469' title='2 topics' style='font-size: 8pt;'>gcc</a>
<a href='http://abhitak.wordpress.com/tag/gcc-for-windows/' class='tag-link-28514214' title='2 topics' style='font-size: 8pt;'>gcc for windows</a>
<a href='http://abhitak.wordpress.com/tag/ieee/' class='tag-link-34476' title='5 topics' style='font-size: 12.772727272727pt;'>IEEE</a>
<a href='http://abhitak.wordpress.com/tag/ieee-crce/' class='tag-link-20755341' title='4 topics' style='font-size: 11.5pt;'>IEEE CRCE</a>
<a href='http://abhitak.wordpress.com/tag/ieee-posix-thread-programming/' class='tag-link-29241073' title='2 topics' style='font-size: 8pt;'>IEEE POSIX Thread Programming</a>
<a href='http://abhitak.wordpress.com/tag/iisc/' class='tag-link-133175' title='4 topics' style='font-size: 11.5pt;'>IISc</a>
<a href='http://abhitak.wordpress.com/tag/iit/' class='tag-link-17731' title='4 topics' style='font-size: 11.5pt;'>IIT</a>
<a href='http://abhitak.wordpress.com/tag/iitb/' class='tag-link-60887' title='4 topics' style='font-size: 11.5pt;'>iitb</a>
<a href='http://abhitak.wordpress.com/tag/iit-bombay/' class='tag-link-115008' title='3 topics' style='font-size: 9.9090909090909pt;'>iit bombay</a>
<a href='http://abhitak.wordpress.com/tag/iit-kgp/' class='tag-link-4421443' title='6 topics' style='font-size: 13.886363636364pt;'>iit kgp</a>
<a href='http://abhitak.wordpress.com/tag/iit-kharagpur/' class='tag-link-113314' title='22 topics' style='font-size: 22pt;'>iit kharagpur</a>
<a href='http://abhitak.wordpress.com/tag/image-processing/' class='tag-link-16753' title='2 topics' style='font-size: 8pt;'>image processing</a>
<a href='http://abhitak.wordpress.com/tag/india/' class='tag-link-3054' title='2 topics' style='font-size: 8pt;'>india</a>
<a href='http://abhitak.wordpress.com/tag/install-windows/' class='tag-link-4014306' title='2 topics' style='font-size: 8pt;'>install windows</a>
<a href='http://abhitak.wordpress.com/tag/jaunty/' class='tag-link-243772' title='3 topics' style='font-size: 9.9090909090909pt;'>jaunty</a>
<a href='http://abhitak.wordpress.com/tag/kshitij/' class='tag-link-770382' title='3 topics' style='font-size: 9.9090909090909pt;'>kshitij</a>
<a href='http://abhitak.wordpress.com/tag/linux/' class='tag-link-610' title='6 topics' style='font-size: 13.886363636364pt;'>linux</a>
<a href='http://abhitak.wordpress.com/tag/mihir/' class='tag-link-1180449' title='2 topics' style='font-size: 8pt;'>mihir</a>
<a href='http://abhitak.wordpress.com/tag/mingw/' class='tag-link-190609' title='2 topics' style='font-size: 8pt;'>mingw</a>
<a href='http://abhitak.wordpress.com/tag/mtech/' class='tag-link-120888' title='3 topics' style='font-size: 9.9090909090909pt;'>Mtech</a>
<a href='http://abhitak.wordpress.com/tag/mumbai/' class='tag-link-4010' title='2 topics' style='font-size: 8pt;'>mumbai</a>
<a href='http://abhitak.wordpress.com/tag/opencv/' class='tag-link-445048' title='2 topics' style='font-size: 8pt;'>opencv</a>
<a href='http://abhitak.wordpress.com/tag/parallel-processing/' class='tag-link-37696' title='2 topics' style='font-size: 8pt;'>parallel processing</a>
<a href='http://abhitak.wordpress.com/tag/personal/' class='tag-link-64' title='5 topics' style='font-size: 12.772727272727pt;'>Personal</a>
<a href='http://abhitak.wordpress.com/tag/sf/' class='tag-link-13866' title='4 topics' style='font-size: 11.5pt;'>sf</a>
<a href='http://abhitak.wordpress.com/tag/springfest/' class='tag-link-646337' title='6 topics' style='font-size: 13.886363636364pt;'>springfest</a>
<a href='http://abhitak.wordpress.com/tag/techfest/' class='tag-link-861038' title='3 topics' style='font-size: 9.9090909090909pt;'>techfest</a>
<a href='http://abhitak.wordpress.com/tag/thread/' class='tag-link-12932' title='2 topics' style='font-size: 8pt;'>thread</a>
<a href='http://abhitak.wordpress.com/tag/ubuntu/' class='tag-link-255' title='10 topics' style='font-size: 16.909090909091pt;'>Ubuntu</a>
<a href='http://abhitak.wordpress.com/tag/ubuntu-9-04/' class='tag-link-10915561' title='4 topics' style='font-size: 11.5pt;'>ubuntu 9.04</a>
<a href='http://abhitak.wordpress.com/tag/usb/' class='tag-link-57231' title='3 topics' style='font-size: 9.9090909090909pt;'>usb</a>
<a href='http://abhitak.wordpress.com/tag/windows/' class='tag-link-800' title='3 topics' style='font-size: 9.9090909090909pt;'>windows</a>
<a href='http://abhitak.wordpress.com/tag/windows-7/' class='tag-link-729864' title='3 topics' style='font-size: 9.9090909090909pt;'>windows 7</a></div></li>		</ul>
		<!-- end widgetized sidebar 1 -->	
					
	</div>
	

	
	<div id="content" role="main">
		<div class="column">
		
				
			<div class="post-214 post type-post status-publish format-standard hentry category-programming tag-image-processing tag-installing-opencv tag-jaunty tag-linux tag-opencv tag-ubuntu tag-ubuntu-10-04 tag-ubuntu-9-04 tag-ubuntu-lucid" id="post-214">
				<div class="posttitle">
					<h2 class="pagetitle">Installing OpenCV on Linux&nbsp;(Ubuntu)</h2>
					<small>
						Posted: August 29, 2009 by <strong>Abhishek</strong> in <a href="http://en.wordpress.com/tag/programming/" title="View all posts in Programming" rel="category tag">Programming</a>						<br />
						Tags: <a href="http://en.wordpress.com/tag/image-processing/" rel="tag">image processing</a>, <a href="http://en.wordpress.com/tag/installing-opencv/" rel="tag">installing opencv</a>, <a href="http://en.wordpress.com/tag/jaunty/" rel="tag">jaunty</a>, <a href="http://en.wordpress.com/tag/linux/" rel="tag">linux</a>, <a href="http://en.wordpress.com/tag/opencv/" rel="tag">opencv</a>, <a href="http://en.wordpress.com/tag/ubuntu/" rel="tag">Ubuntu</a>, <a href="http://en.wordpress.com/tag/ubuntu-10-04/" rel="tag">ubuntu 10.04</a>, <a href="http://en.wordpress.com/tag/ubuntu-9-04/" rel="tag">ubuntu 9.04</a>, <a href="http://en.wordpress.com/tag/ubuntu-lucid/" rel="tag">ubuntu lucid</a>					</small>
				</div>
									<div class="postcomments"><a href="" title="Comment on Installing OpenCV on Linux&nbsp;(Ubuntu)">49</a></div>
								<div class="entry">
					<div class="pd-rating" id="pd_rating_holder_317127_post_214"></div>
<p><script type="text/javascript" charset="utf-8"><!--//--><![CDATA[//><!--
PDRTJS_settings_317127_post_214={"id":317127,"unique_id":"wp-post-214","title":"Installing OpenCV on Linux (Ubuntu)","permalink":"http:\/\/abhitak.wordpress.com\/2009\/08\/29\/installing-opencv-on-linux-ubuntu-9-04\/","item_id":"_post_214"}
//--><!]]&gt;</script></p>
<p>Earlier i was using openCV with Microsoft Visual C++ 6.0. But let me tell you, it crashed a lot. Every time i needed to close the process from Task Manager. Then i decided to somehow install OpenCV for my ubuntu.<br />
After searching and trying a lot for this, i was finally able to use opencv in GNU compiler(g++ or gcc).<br />
Synaptic Package Manager has simplified the life to a great extent. OpenCV is now  available in the ubuntu repositories.<br />
Though there are some problems related to &#8216;ffmpeg&#8217;, i needed opencv for image processing only. So i have not mentioned here what to do about &#8216;ffmpeg&#8217;.</p>
<p><strong>Things to know before starting installation:</strong><br />
i. This installation needs a <strong>C++ compiler like &#8220;g++&#8221;</strong>(which is most commonly used). So install g++ first using Synaptic or by following command at the terminal&#8211;</p>
<blockquote><p><code>$ sudo apt-get install g++</code></p></blockquote>
<p>ii. OpenCV requires GTK+ 2.0 or higher for displaying images. GTK is graphical user interface library. Type out the following code to know the version of GTK+ installed on ur pc.</p>
<blockquote><p><code>$ dpkg -l | grep libgtk</code></p></blockquote>
<p>This command should give o/p something like:</p>
<p><code>libgtk-directfb-2.0-0         2.16.1-0ubuntu2</code></p>
<p>If not, then u need to install the libraries for GTK+ 2.0 first, then start with this opencv installation.<br />
To install GTK+ 2.0 libraries, type out the following command:</p>
<blockquote><p><code>$ sudo apt-get install libgtk2.0-dev</code></p></blockquote>
<p>If both g++ &amp; GTK+ 2.0 are there then proceed as follows:
</p>
<p>I am using Ubuntu 9.04 (Jaunty Jackalope) and i did the following steps to install &amp; configure OpenCV(ver 1.0.0.6) successfully:</p>
<p>1. Go to Synaptic Package Manager (System&gt; Administration&gt; Synaptic Package Manager)<br />
2. Search for &#8220;opencv&#8221; and install the main &#8220;opencv&#8221; package and the following lib files:<br />
libcv<br />
libcv-dev<br />
libcvaux<br />
libcvaux-dev<br />
libhighgui<br />
libhighgui-dev<br />
opencv-doc<br />
(&#8216;python-opencv&#8217; not required).<br />
(you can also install opencv directly from the terminal by &#8220;sudo apt-get install&#8221; the above lib files<br />
3. After installing all the packages, open a terminal &amp; type this code:</p>
<p><code></p>
<blockquote><p>export LD_LIBRARY_PATH=/home/opencv/lib<br />
    export PKG_CONFIG_PATH=/home/opencv/lib/pkgconfig </p></blockquote>
<p></code></p>
<p>    The above ones are default paths for the opencv libraries.<br />
4. For testing:<br />
	Create a new folder &amp; a file &#8220;hello.cpp&#8221; in it using any text editor &amp; type this code in it:<br />
<code>	</p>
<blockquote><p>#include &#060; cv.h &#062;   /* required to use OpenCV */<br />
	#include &#060; highgui.h &#062;  /* required to use OpenCV's highgui */<br />
	#include &#060; stdio.h &#062;</p>
<p>	int main(int argc, char *argv[]) {<br />
	  IplImage* img=0;  /* pointer to an image */<br />
	  printf("Hello\n");<br />
	 if(argv[1] != 0)<br />
		img = cvLoadImage(argv[1], 0); // 1 for color<br />
	else<br />
			printf("Enter filename\n");<br />
     if(img != 0) {<br />
	    cvNamedWindow("Display", CV_WINDOW_AUTOSIZE); // create a window<br />
            cvShowImage("Display", img); // show image in window<br />
	    cvWaitKey(0); // wait until user hits a key<br />
	    cvDestroyWindow("Display");<br />
	  }<br />
	  	else<br />
			printf("File not found\n");<br />
  	return 0;<br />
	}</p></blockquote>
<p></code><br />
5. To check the path where opencv &amp; other lib files are stored, do:<br />
<code><br />
<blockquote>$ pkg-config --cflags opencv</p></blockquote>
<p></code></p>
<p>(output will come as)<br />
<code>-I/usr/include/opencv</code> </p>
<p>
<blockquote><code>$ pkg-config --libs opencv</code></p></blockquote>
<p>
 (output will come as)<br />
 <code>-lcxcore -lcv -lhighgui -lcvaux -lml</code></p>
<p> These paths are needed to compile your opencv programs, as given in the next step.</p>
<p>6. To compile &amp; run:</p>
<blockquote><p><code>$ g++ -I/usr/include/opencv -lcxcore -lhighgui -lm hello.cpp<br />
 ./a.out img<br /></code></p></blockquote>
<p>where &#8220;img&#8221; is the name of any image within the same folder with extension.<br />
You should be able to see &#8220;Hello&#8221; and the image in a different window.</p>
<p>-&gt; If this runs, Congrats! now you can run any C/C++ program with opencv lib.<br />
Else, try</p>
<blockquote><p><code>$ export PATH=$HOME/usr/bin/:$PATH</code></p></blockquote>
<p>
and go to step3 again.</p>
<p>7. Now lets simplify the above big command by making a shortcut for it:<br />
go to your local home directory(cd /home/) and open the .bashrc file using gedit(the file will be hidden). Append the following to the file:</p>
<p><code><br />
<blockquote>alias gcv="g++ -I/usr/include/opencv -lcv -lcxcore -lcvaux -lhighgui -lm"</p></blockquote>
<p></code></p>
<p>and save. <strong>Close the terminal and open it again</strong>.(as this process requires relogin of the terminal)</p>
<p>8.Now, go to directory containing a sample program &amp; do</p>
<blockquote><p><code>$ gcv filename.c &amp;&amp; ./a.out<br />
or<br />
$ gcv filename.c<br />
$ ./a.out input_img.jpg</p>
<p></code></p></blockquote>
<p>As you can see the commands now become similar to <code>$cc filename.c, $./a.out</code>  which are used normally for compiling and executing C programs.</p>
<p>****************************<br />
Some ways to check whether all lib files are installed-<br />
1. <code>$ apt-cache search opencv</code><br />
returns:<br />
<code>libcv-dev - development files for libcv<br />
libcv0.9-0c2 - computer vision library<br />
libcvaux-dev - development files for libcvaux<br />
libcvaux0.9-0c2a - computer vision extension library<br />
libhighgui-dev - development files for libhighgui<br />
libhighgui0.9-0c2 - computer vision GUI library<br />
opencv-doc - OpenCV documentation and examples</p>
<p></code><br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<br />
If you want to install openCV from a .tar file, refer this article:<br />
<a href="http://abhitak.wordpress.com/2009/09/10/installing-opencv-in-linux-from-tar-gz-file/">Installing opencv in linux(Ubuntu) from .tar.gz file</a><br />
Other helpful links on this topic:<br />
<a href="http://ivkin.net/2009/11/installing-opencv-2-0-on-ubuntu-9-10-karmic-koala/">http://ivkin.net/2009/11/installing-opencv-2-0-on-ubuntu-9-10-karmic-koala/</a></p>
<div class="snap_nopreview sharing robots-nocontent">
<ul>
<li class="sharing_label">Share this:</li>
<li class="share-email share-regular"><a rel="nofollow" class="share-email share-icon" href="http://abhitak.wordpress.com/2009/08/29/installing-opencv-on-linux-ubuntu-9-04/?share=email" target="_blank" title="Click to email this to a friend">Email</a></li>
<li class="share-facebook share-regular"><a rel="nofollow" class="share-facebook share-icon" href="http://abhitak.wordpress.com/2009/08/29/installing-opencv-on-linux-ubuntu-9-04/?share=facebook" target="_blank" title="Share on Facebook">Facebook</a></li>
<li class="share-stumbleupon share-regular"><a rel="nofollow" class="share-stumbleupon share-icon" href="http://abhitak.wordpress.com/2009/08/29/installing-opencv-on-linux-ubuntu-9-04/?share=stumbleupon" target="_blank" title="Click to share on StumbleUpon">StumbleUpon</a></li>
<li class="share-twitter share-regular">
<div class="twitter_button"><iframe allowtransparency="true" frameborder="0" scrolling="no" src="http://platform.twitter.com/widgets/tweet_button.html?url=http%3A%2F%2Fwp.me%2FpiKXd-3s&#038;counturl=http%3A%2F%2Fabhitak.wordpress.com%2F2009%2F08%2F29%2Finstalling-opencv-on-linux-ubuntu-9-04%2F&#038;count=horizontal&#038;text=Installing%20OpenCV%20on%20Linux%20%28Ubuntu%29: " style="width:97px; height:20px;"></iframe></div>
</li>
<li class="share-end"></li>
</ul>
<div class="sharing-clear"></div>
</div>
<div style="margin-top: 1em" class="possibly-related"><hr /><p><strong>Possibly related posts: (automatically generated)</strong></p><ul><li><a rel='related nofollow' href='http://sirivy.wordpress.com/2009/09/04/installing-opencv-on-ubuntu-9-04/'>Installing OpenCV on Ubuntu 9.04</a></li><li><a rel='related nofollow' href='http://opencvplace.wordpress.com/2010/06/20/opencv-2-0-visual-c-express-2008/'>Opencv 2.0 + Visual C++ Express 2008</a></li><li><a rel='related nofollow' href='http://freakybloggy.wordpress.com/2009/05/27/getting-started-with-opencv-in-visual-studio-2005/'>Getting Started with OpenCV in Visual Studio 2005</a></li></ul></div>
<!-- wpcom_below_post -->
<script type="text/javascript">
GA_googleAddAttr("AdOpt", "1");
GA_googleAddAttr("Origin", "other");
GA_googleAddAttr("LangId", "1");
GA_googleFillSlot("wpcom_below_post");
</script>														</div>

		<div id="wpl-likebox"><div id="wpl-button"><a href='http://abhitak.wordpress.com/2009/08/29/installing-opencv-on-linux-ubuntu-9-04/?like=1&amp;_wpnonce=dd81bf1a6f' title='I like this post' class='like needs-login'><span>Like</span></a></div><div id="wpl-count">Be the first to like this post.</div></div><!-- You can start editing here. -->
	<div id="comments">Comments</div>
	<ol class="commentlist snap_preview">
			<li class="comment even thread-even depth-1 parent" id="comment-253">
				<div id="div-comment-253" class="comment-body">
				<div class="comment-author vcard">
				<cite class="fn">Chaitanya Kolluru</cite> <span class="says">says:</span>		</div>

		<div class="comment-meta commentmetadata"><a href="http://abhitak.wordpress.com/2009/08/29/installing-opencv-on-linux-ubuntu-9-04/comment-page-4/#comment-253">
			December 2, 2010 at 3:24 pm</a>		</div>

		
<div class="pd-rating" id="pd_rating_holder_741071_comm_253"></div><script type="text/javascript" charset="utf-8"><!--//--><![CDATA[//><!--
PDRTJS_settings_741071_comm_253={"id":741071,"unique_id":"wp-comment-253","title":"Everything went peacefully till step 5.When i try to compile the code i get these errors:g++: .\/a.out: No such file or directoryg++: img: No such file or directoryhello.cpp:2:47: error:  cv.h : N...","permalink":"http:\/\/abhitak.wordpress.com\/2009\/08\/29\/installing-opencv-on-linux-ubuntu-9-04\/#comment-253","item_id":"_comm_253"}
//--><!]]></script>
<p>Everything went peacefully till step 5.When i try to compile the code i get these errors:<br />
g++: ./a.out: No such file or directory<br />
g++: img: No such file or directory<br />
hello.cpp:2:47: error:  cv.h : No such file or directory<br />
hello.cpp:3:62: error:  highgui.h : No such file or directory<br />
hello.cpp:4:21: error:  stdio.h : No such file or directory<br />
hello.cpp: In function ‘int main(int, char**)’:<br />
hello.cpp:7: error: ‘IplImage’ was not declared in this scope<br />
hello.cpp:7: error: ‘img’ was not declared in this scope<br />
hello.cpp:8: error: ‘printf’ was not declared in this scope<br />
hello.cpp:10: error: ‘cvLoadImage’ was not declared in this scope<br />
hello.cpp:14: error: ‘CV_WINDOW_AUTOSIZE’ was not declared in this scope<br />
hello.cpp:14: error: ‘cvNamedWindow’ was not declared in this scope<br />
hello.cpp:15: error: ‘cvShowImage’ was not declared in this scope<br />
hello.cpp:16: error: ‘cvWaitKey’ was not declared in this scope<br />
hello.cpp:17: error: ‘cvDestroyWindow’ was not declared in this scope</p>
<p>I think there is only one thing wrong with this.Can you please let me know what went wrong here.Thanks a million.</p>

		<div class="reply">
		<a class='comment-reply-link' href='http://abhitak.wordpress.com/2009/08/29/installing-opencv-on-linux-ubuntu-9-04/?replytocom=253#respond' onclick='return addComment.moveForm("div-comment-253", "253", "respond", "214")'>Reply</a>		</div>
				</div>
		<ul class='children'>
		<li class="comment odd alt depth-2 parent" id="comment-268">
				<div id="div-comment-268" class="comment-body">
				<div class="comment-author vcard">
				<cite class="fn">jamesscott</cite> <span class="says">says:</span>		</div>

		<div class="comment-meta commentmetadata"><a href="http://abhitak.wordpress.com/2009/08/29/installing-opencv-on-linux-ubuntu-9-04/comment-page-4/#comment-268">
			December 9, 2010 at 5:30 pm</a>		</div>

		
<div class="pd-rating" id="pd_rating_holder_741071_comm_268"></div><script type="text/javascript" charset="utf-8"><!--//--><![CDATA[//><!--
PDRTJS_settings_741071_comm_268={"id":741071,"unique_id":"wp-comment-268","title":"I have same problem: cv.h : No such file or directory :(...","permalink":"http:\/\/abhitak.wordpress.com\/2009\/08\/29\/installing-opencv-on-linux-ubuntu-9-04\/#comment-268","item_id":"_comm_268"}
//--><!]]></script>
<p>I have same problem: cv.h : No such file or directory <img src='Installing%20OpenCV%20on%20Linux%20%28Ubuntu%29_files/icon_sad.gif' alt=':(' class='wp-smiley' /> </p>

		<div class="reply">
				</div>
				</div>
		</li>
		<li class="comment byuser comment-author-abhitak bypostauthor even depth-2" id="comment-269">
				<div id="div-comment-269" class="comment-body">
				<div class="comment-author vcard">
				<cite class="fn">Abhishek</cite> <span class="says">says:</span>		</div>

		<div class="comment-meta commentmetadata"><a href="http://abhitak.wordpress.com/2009/08/29/installing-opencv-on-linux-ubuntu-9-04/comment-page-4/#comment-269">
			December 10, 2010 at 6:11 pm</a>		</div>

		
<div class="pd-rating" id="pd_rating_holder_741071_comm_269"></div><script type="text/javascript" charset="utf-8"><!--//--><![CDATA[//><!--
PDRTJS_settings_741071_comm_269={"id":741071,"unique_id":"wp-comment-269","title":"that means opencv has not been installed properly... try again!...","permalink":"http:\/\/abhitak.wordpress.com\/2009\/08\/29\/installing-opencv-on-linux-ubuntu-9-04\/#comment-269","item_id":"_comm_269"}
//--><!]]></script>
<p>that means opencv has not been installed properly&#8230; try again!</p>

		<div class="reply">
				</div>
				</div>
		</li>
</ul>
</li>
		<li class="comment odd alt thread-odd thread-alt depth-1" id="comment-233">
				<div id="div-comment-233" class="comment-body">
				<div class="comment-author vcard">
				<cite class="fn"><a href='http://federicocristina.com.ar/' rel='external nofollow' class='url'>Federico</a></cite> <span class="says">says:</span>		</div>

		<div class="comment-meta commentmetadata"><a href="http://abhitak.wordpress.com/2009/08/29/installing-opencv-on-linux-ubuntu-9-04/comment-page-4/#comment-233">
			November 4, 2010 at 2:18 am</a>		</div>

		
<div class="pd-rating" id="pd_rating_holder_741071_comm_233"></div><script type="text/javascript" charset="utf-8"><!--//--><![CDATA[//><!--
PDRTJS_settings_741071_comm_233={"id":741071,"unique_id":"wp-comment-233","title":"Thanks a lot.  It worked at the first try....","permalink":"http:\/\/abhitak.wordpress.com\/2009\/08\/29\/installing-opencv-on-linux-ubuntu-9-04\/#comment-233","item_id":"_comm_233"}
//--><!]]></script>
<p>Thanks a lot.  It worked at the first try.</p>

		<div class="reply">
		<a class='comment-reply-link' href='http://abhitak.wordpress.com/2009/08/29/installing-opencv-on-linux-ubuntu-9-04/?replytocom=233#respond' onclick='return addComment.moveForm("div-comment-233", "233", "respond", "214")'>Reply</a>		</div>
				</div>
		</li>
		<li class="comment even thread-even depth-1 parent" id="comment-230">
				<div id="div-comment-230" class="comment-body">
				<div class="comment-author vcard">
				<cite class="fn">Onty Bagwasi</cite> <span class="says">says:</span>		</div>

		<div class="comment-meta commentmetadata"><a href="http://abhitak.wordpress.com/2009/08/29/installing-opencv-on-linux-ubuntu-9-04/comment-page-4/#comment-230">
			October 31, 2010 at 4:37 pm</a>		</div>

		
<div class="pd-rating" id="pd_rating_holder_741071_comm_230"></div><script type="text/javascript" charset="utf-8"><!--//--><![CDATA[//><!--
PDRTJS_settings_741071_comm_230={"id":741071,"unique_id":"wp-comment-230","title":"hey, thanks a lot for the instructions. i did everything step by step but i got an error, when i compile, it says \"the command could not be located because 'usr\/bin' is not included in the PATH e...","permalink":"http:\/\/abhitak.wordpress.com\/2009\/08\/29\/installing-opencv-on-linux-ubuntu-9-04\/#comment-230","item_id":"_comm_230"}
//--><!]]></script>
<p>hey, thanks a lot for the instructions. i did everything step by step but i got an error, when i compile, it says &#8220;the command could not be located because &#8216;usr/bin&#8217; is not included in the PATH environment variale&#8221;..anyone know how to do this! please help<br />
Onty</p>

		<div class="reply">
		<a class='comment-reply-link' href='http://abhitak.wordpress.com/2009/08/29/installing-opencv-on-linux-ubuntu-9-04/?replytocom=230#respond' onclick='return addComment.moveForm("div-comment-230", "230", "respond", "214")'>Reply</a>		</div>
				</div>
		<ul class='children'>
		<li class="comment byuser comment-author-abhitak bypostauthor odd alt depth-2" id="comment-231">
				<div id="div-comment-231" class="comment-body">
				<div class="comment-author vcard">
				<cite class="fn">Abhishek</cite> <span class="says">says:</span>		</div>

		<div class="comment-meta commentmetadata"><a href="http://abhitak.wordpress.com/2009/08/29/installing-opencv-on-linux-ubuntu-9-04/comment-page-4/#comment-231">
			November 1, 2010 at 6:40 pm</a>		</div>

		
<div class="pd-rating" id="pd_rating_holder_741071_comm_231"></div><script type="text/javascript" charset="utf-8"><!--//--><![CDATA[//><!--
PDRTJS_settings_741071_comm_231={"id":741071,"unique_id":"wp-comment-231","title":"try this command at the bash terminal:$export PATH=$HOME\/usr\/bin\/:$PATHThen goto step 3 of the procedure in <a href=\"http:\/\/abhitak.wordpress.com\/2009\/08\/29\/installing-opencv-on-linux-ubuntu-9-04...","permalink":"http:\/\/abhitak.wordpress.com\/2009\/08\/29\/installing-opencv-on-linux-ubuntu-9-04\/#comment-231","item_id":"_comm_231"}
//--><!]]></script>
<p>try this command at the bash terminal:<br />
$export PATH=$HOME/usr/bin/:$PATH</p>
<p>Then goto step 3 of the procedure in <a href="" rel="nofollow">my blog link</a>.</p>

		<div class="reply">
				</div>
				</div>
		</li>
</ul>
</li>
		<li class="comment byuser comment-author-pedrolmota even thread-odd thread-alt depth-1" id="comment-229">
				<div id="div-comment-229" class="comment-body">
				<div class="comment-author vcard">
				<cite class="fn"><a href='http://pedrolinhares.wordpress.com/' rel='external nofollow' class='url'>pedrolmota</a></cite> <span class="says">says:</span>		</div>

		<div class="comment-meta commentmetadata"><a href="http://abhitak.wordpress.com/2009/08/29/installing-opencv-on-linux-ubuntu-9-04/comment-page-4/#comment-229">
			October 27, 2010 at 6:47 pm</a>		</div>

		
<div class="pd-rating" id="pd_rating_holder_741071_comm_229"></div><script type="text/javascript" charset="utf-8"><!--//--><![CDATA[//><!--
PDRTJS_settings_741071_comm_229={"id":741071,"unique_id":"wp-comment-229","title":"Hello,It works for images but I can't get streaming from my camera. I am using ubuntu 9.10 and the camera (microsoft LifeCam 1.4) works fine with cheese so it's not a problem with camera driver. ...","permalink":"http:\/\/abhitak.wordpress.com\/2009\/08\/29\/installing-opencv-on-linux-ubuntu-9-04\/#comment-229","item_id":"_comm_229"}
//--><!]]></script>
<p>Hello,</p>
<p>It works for images but I can&#8217;t get streaming from my camera. I am using ubuntu 9.10 and the camera (microsoft LifeCam 1.4) works fine with cheese so it&#8217;s not a problem with camera driver. Do you have any clues on how to solve this problem?</p>

		<div class="reply">
		<a class='comment-reply-link' href='http://abhitak.wordpress.com/2009/08/29/installing-opencv-on-linux-ubuntu-9-04/?replytocom=229#respond' onclick='return addComment.moveForm("div-comment-229", "229", "respond", "214")'>Reply</a>		</div>
				</div>
		</li>
		<li class="comment odd alt thread-even depth-1" id="comment-226">
				<div id="div-comment-226" class="comment-body">
				<div class="comment-author vcard">
				<cite class="fn"><a href='http://uniontheater.wisc.edu/calendar.asp?month=2&amp;year=2010' rel='external nofollow' class='url'>wisconsin union theater madison wi</a></cite> <span class="says">says:</span>		</div>

		<div class="comment-meta commentmetadata"><a href="http://abhitak.wordpress.com/2009/08/29/installing-opencv-on-linux-ubuntu-9-04/comment-page-4/#comment-226">
			October 25, 2010 at 2:25 pm</a>		</div>

		
<div class="pd-rating" id="pd_rating_holder_741071_comm_226"></div><script type="text/javascript" charset="utf-8"><!--//--><![CDATA[//><!--
PDRTJS_settings_741071_comm_226={"id":741071,"unique_id":"wp-comment-226","title":"This was a very good read by you looking forward to visit more very soon....","permalink":"http:\/\/abhitak.wordpress.com\/2009\/08\/29\/installing-opencv-on-linux-ubuntu-9-04\/#comment-226","item_id":"_comm_226"}
//--><!]]></script>
<p>This was a very good read by you looking forward to visit more very soon.</p>

		<div class="reply">
		<a class='comment-reply-link' href='http://abhitak.wordpress.com/2009/08/29/installing-opencv-on-linux-ubuntu-9-04/?replytocom=226#respond' onclick='return addComment.moveForm("div-comment-226", "226", "respond", "214")'>Reply</a>		</div>
				</div>
		</li>
		<li class="comment even thread-odd thread-alt depth-1" id="comment-220">
				<div id="div-comment-220" class="comment-body">
				<div class="comment-author vcard">
				<cite class="fn">Marco</cite> <span class="says">says:</span>		</div>

		<div class="comment-meta commentmetadata"><a href="http://abhitak.wordpress.com/2009/08/29/installing-opencv-on-linux-ubuntu-9-04/comment-page-4/#comment-220">
			October 22, 2010 at 11:35 am</a>		</div>

		
<div class="pd-rating" id="pd_rating_holder_741071_comm_220"></div><script type="text/javascript" charset="utf-8"><!--//--><![CDATA[//><!--
PDRTJS_settings_741071_comm_220={"id":741071,"unique_id":"wp-comment-220","title":"Thanks a lot! This is the only guide that worked for me....","permalink":"http:\/\/abhitak.wordpress.com\/2009\/08\/29\/installing-opencv-on-linux-ubuntu-9-04\/#comment-220","item_id":"_comm_220"}
//--><!]]></script>
<p>Thanks a lot! This is the only guide that worked for me.</p>

		<div class="reply">
		<a class='comment-reply-link' href='http://abhitak.wordpress.com/2009/08/29/installing-opencv-on-linux-ubuntu-9-04/?replytocom=220#respond' onclick='return addComment.moveForm("div-comment-220", "220", "respond", "214")'>Reply</a>		</div>
				</div>
		</li>
		<li class="comment odd alt thread-even depth-1" id="comment-214">
				<div id="div-comment-214" class="comment-body">
				<div class="comment-author vcard">
				<cite class="fn">jainendra Shukla</cite> <span class="says">says:</span>		</div>

		<div class="comment-meta commentmetadata"><a href="http://abhitak.wordpress.com/2009/08/29/installing-opencv-on-linux-ubuntu-9-04/comment-page-4/#comment-214">
			October 11, 2010 at 9:08 am</a>		</div>

		
<div class="pd-rating" id="pd_rating_holder_741071_comm_214"></div><script type="text/javascript" charset="utf-8"><!--//--><![CDATA[//><!--
PDRTJS_settings_741071_comm_214={"id":741071,"unique_id":"wp-comment-214","title":"Hi Sir,Its amazing I tried it first time &amp; it worked nice.Best article to setup opencv in Ubuntu.Thank a lot.--JainendraM.Tech.(Robotics)IIIT-Allahabad...","permalink":"http:\/\/abhitak.wordpress.com\/2009\/08\/29\/installing-opencv-on-linux-ubuntu-9-04\/#comment-214","item_id":"_comm_214"}
//--><!]]></script>
<p>Hi Sir,<br />
Its amazing I tried it first time &amp; it worked nice.<br />
Best article to setup opencv in Ubuntu.<br />
Thank a lot.<br />
&#8211;Jainendra<br />
M.Tech.(Robotics)<br />
IIIT-Allahabad</p>

		<div class="reply">
		<a class='comment-reply-link' href='http://abhitak.wordpress.com/2009/08/29/installing-opencv-on-linux-ubuntu-9-04/?replytocom=214#respond' onclick='return addComment.moveForm("div-comment-214", "214", "respond", "214")'>Reply</a>		</div>
				</div>
		</li>
	</ol>
	<div class="navigation">
		<div class="alignleft"><a href="http://abhitak.wordpress.com/2009/08/29/installing-opencv-on-linux-ubuntu-9-04/comment-page-3/#comments" >&laquo; Older Comments</a></div>
		<div class="alignright"></div>
	</div>

<div id="respondcon">
									<div id="respond">
				<h3 id="reply-title">Leave a Reply <small><a rel="nofollow" id="cancel-comment-reply-link" href="" style="display:none;">Cancel reply</a></small></h3>
									<form action="http://abhitak.wordpress.com/wp-comments-post.php" method="post" id="commentform">
																			<p class="comment-notes">Your email address will not be published. Required fields are marked <span class="required">*</span></p>							<p class="comment-form-author"><label for="author">Name</label> <span class="required">*</span><input id="author" name="author" type="text" value="" size="30" aria-required='true' /></p>
<p class="comment-form-email"><label for="email">Email</label> <span class="required">*</span><input id="email" name="email" type="text" value="" size="30" aria-required='true' /></p>
<p class="comment-form-url"><label for="url">Website</label><input id="url" name="url" type="text" value="" size="30" /></p>
												<p class="comment-form-comment"><label for="comment">Comment</label><textarea id="comment" name="comment" cols="45" rows="8" aria-required="true"></textarea></p>						<p class="form-allowed-tags">You may use these <abbr title="HyperText Markup Language">HTML</abbr> tags and attributes:  <code>&lt;a href=&quot;&quot; title=&quot;&quot;&gt; &lt;abbr title=&quot;&quot;&gt; &lt;acronym title=&quot;&quot;&gt; &lt;b&gt; &lt;blockquote cite=&quot;&quot;&gt; &lt;cite&gt; &lt;code&gt; &lt;pre&gt; &lt;del datetime=&quot;&quot;&gt; &lt;em&gt; &lt;i&gt; &lt;q cite=&quot;&quot;&gt; &lt;strike&gt; &lt;strong&gt; </code></p>						<p class="form-submit">
							<input name="submit" type="submit" id="submit" value="Post Comment" />
							<input type='hidden' name='comment_post_ID' value='214' id='comment_post_ID' />
<input type='hidden' name='comment_parent' id='comment_parent' value='0' />
						</p>
						
<input type="hidden" name="genseq" value="1292936623" />
<p><input type="checkbox" name="subscribe" id="subscribe" value="subscribe" style="width: auto;" tabindex="6"/> <label class="subscribe-label" id="subscribe-label" for="subscribe">Notify me of follow-up comments via email.</label></p><p><input type="checkbox" name="subscribe_blog" id="subscribe_blog" value="subscribe" style="width: auto;" tabindex="7"/> <label class="subscribe-label" id="subscribe-blog-label" for="subscribe_blog">Notify me of site updates</label></p><input type="hidden" name="sub-type" value="comment-form-text4" /><p style="display: none;"><input type="hidden" id="akismet_comment_nonce" name="akismet_comment_nonce" value="9a1bd6b582" /></p>					</form>
							</div><!-- #respond -->
						</div><!-- #respondcon -->
	
			
		</div>
	</div>
	
	<div id="nav-post">
		<div class="navigation-bott">
			<div class="leftnav"><a href="http://abhitak.wordpress.com/2009/08/08/life-at-iit-kgp-contd/" rel="prev">Life at IIT KGP&nbsp;contd.</a></div>			<div class="rightnav"><a href="http://abhitak.wordpress.com/2009/09/03/ieee-posix-thread-programming-2/" rel="next">IEEE POSIX Thread&nbsp;Programming</a></div>		</div>
	</div>
</div>

			<hr />

			<div id="footer" role="contentinfo">

				
					<div id="footer-left" class="widget-area">
						<ul>
						<li id="text-3" class="widget widget_text"><h4 class="footerwidget">Thanks for Visiting!</h4>			<div class="textwidget">copyright:
Abhishek Gupta,
IIT Kharagpur.</div>
		</li>						</ul>
					</div>

					<div id="footer-middle" class="widget-area">
						<ul>
												</ul>
					</div>

					<div id="footer-right" class="widget-area">
						<ul>
												</ul>
					</div>

				
			</div>

		</div><!-- #container -->
	</div><!-- #page -->

	<div id="footer-bott">
		<a href="http://wordpress.com/?ref=footer" rel="generator">Blog at WordPress.com</a>. | Theme: Greyzed by <a href="http://theforge.co.za/" rel="designer">The Forge Web Creations</a>.	</div>

	<div class="footerbar"></div>
</div><!-- #wrapper -->

<script type="text/javascript">
// <![CDATA[
(function() {
try{
  if ( window.external &&'msIsSiteMode' in window.external) {
    if (window.external.msIsSiteMode()) {
      var jl = document.createElement('script');
      jl.type='text/javascript';
      jl.async=true;
      jl.src='/wp-content/plugins/ie-sitemode/custom-jumplist.php';
      var s = document.getElementsByTagName('script')[0];
      s.parentNode.insertBefore(jl, s);
    }
  }
}catch(e){}
})();
// ]]>
</script>	<script type="text/javascript">
	/* <![CDATA[ */
		jQuery( function() {
			
			jQuery('#wpl-button > a.like').click( function(e) {
				e.preventDefault();
				
				jQuery('#wpl-mustlogin').remove();

				jQuery.post( 'http://abhitak.wordpress.com/wp-admin/admin-ajax.php', { 
					'action': 'wpl_record_stat',
					'stat_name': 'loggedout_like_click'
				} );

				var tenMins = new Date();
				tenMins.setTime( tenMins.getTime() + 600000 );
				document.cookie = 'wpl_rand=3c2d24a273; expires=' + tenMins.toGMTString() + '; domain=wordpress.com; path=/;';
				
				jQuery('#wpl-count').after( '\
					<div id="wpl-mustlogin"> \
						<form action="http://abhitak.wordpress.com/wp-login.php" method="post"> \
							<p>Just one more step to like this post:</p> \
							<label><span>Username</span> <input type="text" name="log" id="user_login" class="input" value="" size="20" tabindex="80" /></label> \
							<label><span>Password</span> <input type="password" name="pwd" id="user_pass" class="input" value="" size="20" tabindex="81" /></label> \
							<input type="submit" name="wp-submit" id="wp-submit" class="button-primary" value="Log In" tabindex="82" /> \
							<input type="hidden" name="redirect_to" value="http://abhitak.wordpress.com/2009/08/29/installing-opencv-on-linux-ubuntu-9-04/?like=1" /> \
							<input type="hidden" name="wpl_rand" value="3c2d24a273" /> \
							<p>Not a member yet? <a href="http://wordpress.com/signup/?ref=likebox" id="wpl-signup-link">Sign up with WordPress.com</a></p> \
						</form> \
					</div> \
				');
				
				jQuery('#wpl-mustlogin').hide().slideDown('fast');
			} );
			
			jQuery('#wpl-mustlogin input.input').live( 'focus', function() {
				jQuery(this).prev().hide();
			}).live( 'blur', function() {
				if ( jQuery(this).val() == '' )
					jQuery(this).prev().show();
			});
			
			jQuery('#wpl-mustlogin input#wp-submit').live( 'click', function(e) {
				e.preventDefault();
				
				jQuery.post( 'http://abhitak.wordpress.com/wp-admin/admin-ajax.php', { 
					'action': 'wpl_record_stat',
					'stat_name': 'loggedout_login_submit'
				}, function() {
					jQuery('#wpl-mustlogin form').submit();
				} );
			});			
			
			jQuery('#wpl-mustlogin a#wpl-signup-link').live( 'click', function(e) {
				e.preventDefault();
				
				var link = jQuery(this).attr('href');
				
				jQuery.post( 'http://abhitak.wordpress.com/wp-admin/admin-ajax.php', { 
					'action': 'wpl_record_stat',
					'stat_name': 'loggedout_signup_click'
				}, function() {
					location.href = link;
				} );
			});					
			
		});
	/* ]]> */
	</script>
<script type="text/javascript">_qoptions={qacct:'p-18-mFEk4J448M',labels:'language.en,type.wpcom,posttag.image-processing,posttag.installing-opencv,posttag.jaunty,posttag.linux,posttag.opencv,posttag.ubuntu,posttag.ubuntu-10-04,posttag.ubuntu-9-04,posttag.ubuntu-lucid'};</script>
<script type="text/javascript" src="Installing%20OpenCV%20on%20Linux%20%28Ubuntu%29_files/quant000.js"></script>
<noscript><p><img class="robots-nocontent" src="http://pixel.quantserve.com/pixel/p-18-mFEk4J448M.gif?labels=language.en%2Ctype.wpcom%2Cposttag.image-processing%2Cposttag.installing-opencv%2Cposttag.jaunty%2Cposttag.linux%2Cposttag.opencv%2Cposttag.ubuntu%2Cposttag.ubuntu-10-04%2Cposttag.ubuntu-9-04%2Cposttag.ubuntu-lucid" style="display:none" height="1" width="1" alt="" /></p></noscript>
<script type='text/javascript' src='http://s.gravatar.com/js/gprofiles.js?n&#038;ver=MU'></script>
	<script type="text/javascript">	
	// <![CDATA[
	WPGroHo = {
		data: {},
		renderers: {},
		syncProfileData: function( hash, id ) {
			if ( !WPGroHo.data[hash] ) {
				WPGroHo.data[hash] = {};
				a = jQuery( 'div.grofile-hash-map-' + hash + ' span' ).each( function() {
					WPGroHo.data[hash][this.className] = jQuery( this ).text();
				} );
			}

			WPGroHo.appendProfileData( WPGroHo.data[hash], hash, id );
		},
		appendProfileData: function( data, hash, id ) {
			for ( var key in data ) {
				if ( jQuery.isFunction( WPGroHo.renderers[key] ) ) {
					return WPGroHo.renderers[key]( data[key], hash, id, key );
				}

				jQuery( '#' + id ).find( 'h4' ).after( jQuery( '<p class="grav-extra ' + key + '" />' ).html( data[key] ) );
			}
		}
	};
	jQuery(document).ready(function($){
		Gravatar.profile_cb = function( h, d ) {
			WPGroHo.syncProfileData( h, d );
		};
		Gravatar.attach_profiles();
	});
	// ]]>
	</script>
	<div style="display:none">
	</div>
<script type='text/javascript'>_acseed='Nm01fCNhbSRHKlFLJVBUJSU3YWx7SjwkbD9iRS5eYDVbc0U2fmhRNzs+R3J7aVpsUGs0WUs3RkFbbCV0aGBDXmRkb3F1RU5OSDFKWzlZMlg7NF9TfnEmZHA6az5NSysuMXVxLXtLaTcoQWErbD1dUVhbbTMwYC9DPn5NIUhwT1RPOGNDQg==';</script>
<script type='text/javascript' src='Installing%20OpenCV%20on%20Linux%20%28Ubuntu%29_files/rating00.js'></script>
<script type='text/javascript' src='http://s1.wp.com/wp-content/mu-plugins/sharing/sharing.js?m=1289605033g&amp;ver=0.1'></script>
	<div id="sharing_email" style="display: none;">
		<form action="" method="post">
			<label for="target_email">Send to Email Address</label>
			<input type="text" name="target_email" id="target_email" value="" />
			
			
				<label for="source_name">Your Name</label>
				<input type="text" name="source_name" id="source_name" value="" />
				
				<label for="source_email">Your Email Address</label>
				<input type="text" name="source_email" id="source_email" value="" />

						
			<div class="recaptcha" id="sharing_recaptcha"></div>
			<img style="float: right; display: none" class="loading" src="http://abhitak.wordpress.com/wp-content/mu-plugins/sharing/images/loading.gif" alt="loading" width="16" height="16" />
			<input type="submit" value="Send Email" class="sharing_send" />
			<a href="" class="sharing_cancel">Cancel</a>
			
			<div class="errors errors-1" style="display: none;">
				Post was not sent - check your email addresses!			</div>

			<div class="errors errors-2" style="display: none;">
				Email check failed, please try again			</div>
			
			<div class="errors errors-3" style="display: none;">
				Sorry, your blog cannot share posts by email.			</div>
		</form>
	</div>
<script type="text/javascript" src="Installing%20OpenCV%20on%20Linux%20%28Ubuntu%29_files/beacon00.js"></script><script type="text/javascript">try{COMSCORE.beacon({c1:2,c2:7518284});}catch(e){}</script><noscript><p class="robots-nocontent"><img src="http://b.scorecardresearch.com/p?cj=1c1=2&#038;c2=7518284" alt="" style="display:none" width="1" height="1" /></p></noscript><script src="Installing%20OpenCV%20on%20Linux%20%28Ubuntu%29_files/w0000000.js" type="text/javascript"></script>
<script type="text/javascript">
st_go({'blog':'4470399','v':'wpcom','user_id':'0','post':'214','subd':'abhitak'});
ex_go({'crypt':'RDZlWXplVUFSPyU5aEFEcU1iaXlrWE9OLEpUNXVMRzJjNStOZk1JdFgmZnkuUGpmNGFiN1hVcm54dXFIbD9CZ2hYUldGemFWVCZBbTN3VFtKczVnazUySiUxRCxrQk5UaDIvb35uNF9ZeUphWEx4c35YLlt8U2xSRmJlQSwlOGZDNTl4L1VWfmhNOXRwYT1MTElqOFtvYVBMMEc/MkptMXVncTNzZG9PRzAtfCtaR0pNdz93RGdMSn5YUTA9OVpoSW5iTWYvOUxPfGxMP3V4Yz9CM0JbUlFwcm1jM3BPU2NMP29WP1swa29hLj9ka05ML3gtZnY/WHlPcjJqQkdwXVlpQTF4Ui1FR350VElNWHgwelNTTmNoTWZPfFU0ZF9YQUViYlQtLH41UjVLcHx1WkphS294Ji1pNHBFdU9DemZJOHlZdU01TDA5Jmw3Q1BRYiUlaThTMHxzbyt4RUYzY3FVLW5FNG01MXgyTjVtZn58OEVxLkwlYWFYSzJLOW9+NXw5ZEk5SA=='});
re_go({'d[sirivy.wordpress.com]':'1','d[opencvplace.wordpress.com]':'1','d[freakybloggy.wordpress.com]':'1','v':'sph','b':'4470399','p':'214'});
addLoadEvent(function(){linktracker_init('4470399',214);});
	</script>
</body>
</html>
<!-- This document saved from http://abhitak.wordpress.com/2009/08/29/installing-opencv-on-linux-ubuntu-9-04/ -->
